#include <stdlib.h>
#include <stdio.h>

void main() {
  int a = -1, b = 1, fib = 0, n, i = 0;
	
  printf("Numero de termos: ");
  scanf("%d",&n);

  while(i < n) {	
	fib = a + b;		
	a = b;
	b = fib;      
	printf("%d\n", fib);
	i++;
  }
}


